[INFO] cloning repository https://github.com/nemolc/inscript
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nemolc/inscript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnemolc%2Finscript", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnemolc%2Finscript'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f37b3f7a19481080f1f16c6e1aa760bc50b45357
[INFO] fixing nemolc/inscript against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnemolc%2Finscript" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/nemolc/inscript
[INFO] finished tweaking git repo https://github.com/nemolc/inscript
[INFO] tweaked toml for git repo https://github.com/nemolc/inscript written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nemolc/inscript on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nemolc/inscript already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0eabc7b4a07f5bbc22e3312be9e7d74abf33d492559dac980f51f05f19bc14bc
[INFO] running `Command { std: "docker" "start" "0eabc7b4a07f5bbc22e3312be9e7d74abf33d492559dac980f51f05f19bc14bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0eabc7b4a07f5bbc22e3312be9e7d74abf33d492559dac980f51f05f19bc14bc" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0eabc7b4a07f5bbc22e3312be9e7d74abf33d492559dac980f51f05f19bc14bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0eabc7b4a07f5bbc22e3312be9e7d74abf33d492559dac980f51f05f19bc14bc" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]     Checking bytes v1.7.1
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling cc v1.1.18
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]     Checking tinyvec v1.8.0
[INFO] [stderr]    Compiling bitcoin-internals v0.3.0
[INFO] [stderr]    Compiling hex_lit v0.1.1
[INFO] [stderr]    Compiling bitcoin-internals v0.2.0
[INFO] [stderr]     Checking hex-conservative v0.2.1
[INFO] [stderr]     Checking bitcoin-io v0.1.2
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling minreq v2.12.0
[INFO] [stderr]     Checking regex-syntax v0.8.4
[INFO] [stderr]     Checking hex-conservative v0.1.2
[INFO] [stderr]    Compiling bitcoin v0.32.2
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]    Compiling bitcoin v0.31.2
[INFO] [stderr]     Checking ipnet v2.10.0
[INFO] [stderr]     Checking data-encoding v2.6.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking bech32 v0.11.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]     Checking resolv-conf v0.7.0
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking bech32 v0.10.0-beta
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]    Compiling anyhow v1.0.88
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]     Checking clap_builder v4.5.17
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]     Checking webpki-roots v0.25.4
[INFO] [stderr]     Checking indexmap v2.5.0
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling secp256k1-sys v0.10.1
[INFO] [stderr]    Compiling secp256k1-sys v0.9.2
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking clap v4.5.17
[INFO] [stderr]     Checking regex v1.10.6
[INFO] [stderr]     Checking env_filter v0.1.2
[INFO] [stderr]     Checking env_logger v0.11.5
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling async-trait v0.1.82
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]     Checking tokio v1.40.0
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling serde_with_macros v3.9.0
[INFO] [stderr]     Checking tokio-util v0.7.12
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking hickory-proto v0.24.1
[INFO] [stderr]    Compiling argh_shared v0.1.12
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]    Compiling argh_derive v0.1.12
[INFO] [stderr]     Checking bitcoin_hashes v0.14.0
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_with v3.9.0
[INFO] [stderr]     Checking bitcoin-units v0.1.2
[INFO] [stderr]     Checking bitcoin_hashes v0.13.0
[INFO] [stderr]     Checking argh v0.1.12
[INFO] [stderr]     Checking base58ck v0.1.0
[INFO] [stderr]     Checking secp256k1 v0.29.1
[INFO] [stderr]     Checking jsonrpc v0.18.0
[INFO] [stderr]     Checking secp256k1 v0.28.2
[INFO] [stderr]     Checking hickory-resolver v0.24.1
[INFO] [stderr]     Checking hyper v0.14.30
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking bitcoincore-rpc-json v0.19.0
[INFO] [stderr]     Checking ord-rs v0.2.2 (https://github.com/bitfinity-network/ord-rs#ac49a3c7)
[INFO] [stderr]     Checking bitcoincore-rpc v0.19.0
[INFO] [stderr]     Checking inscript v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/util.rs:33:54
[INFO] [stdout]     |
[INFO] [stdout]  28 |         let res = f().await;
[INFO] [stdout]     |             ---   ---------
[INFO] [stdout]     |             |     |   |
[INFO] [stdout]     |             |     |   this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |             |     |   `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |             |     `__awaitee` calls a custom destructor
[INFO] [stdout]     |             |     `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout]     |             `res` calls a custom destructor
[INFO] [stdout]     |             `res` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  31 |             Err(e) => {
[INFO] [stdout]     |                 -
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `e` calls a custom destructor
[INFO] [stdout]     |                 `e` will be dropped later as of Edition 2024
[INFO] [stdout]  32 |                 warn!("err: {}", e);
[INFO] [stdout]  33 |                 time::sleep(Duration::from_secs(10)).await
[INFO] [stdout]     |                 -------------------------------------^^^^^
[INFO] [stdout]     |                 |                                    |
[INFO] [stdout]     |                 |                                    this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                 |                                    up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                 this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                 `#2` will be dropped later as of Edition 2024
[INFO] [stdout]  34 |             }
[INFO] [stdout]     |             - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.40.0/src/runtime/time/entry.rs:652:1
[INFO] [stdout]     |
[INFO] [stdout] 652 | impl Drop for TimerEntry {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `res` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.88/src/error.rs:593:1
[INFO] [stdout]     |
[INFO] [stdout] 593 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.88/src/error.rs:593:1
[INFO] [stdout]     |
[INFO] [stdout] 593 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `e` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.88/src/error.rs:593:1
[INFO] [stdout]     |
[INFO] [stdout] 593 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.40.0/src/runtime/time/entry.rs:652:1
[INFO] [stdout]     |
[INFO] [stdout] 652 | impl Drop for TimerEntry {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 |     unsafe { API_KEY.set(api_key.to_string()); }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/client.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 - pub static mut API_KEY: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 22 + pub static API_KEY: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/client.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |             API_KEY.get().unwrap().to_string()
[INFO] [stdout]     |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  22 - pub static mut API_KEY: OnceLock<String> = OnceLock::new();
[INFO] [stdout]  22 + pub static API_KEY: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/util.rs:33:54
[INFO] [stdout]     |
[INFO] [stdout]  28 |         let res = f().await;
[INFO] [stdout]     |             ---   ---------
[INFO] [stdout]     |             |     |   |
[INFO] [stdout]     |             |     |   this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |             |     |   `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |             |     `__awaitee` calls a custom destructor
[INFO] [stdout]     |             |     `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout]     |             `res` calls a custom destructor
[INFO] [stdout]     |             `res` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  31 |             Err(e) => {
[INFO] [stdout]     |                 -
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `e` calls a custom destructor
[INFO] [stdout]     |                 `e` will be dropped later as of Edition 2024
[INFO] [stdout]  32 |                 warn!("err: {}", e);
[INFO] [stdout]  33 |                 time::sleep(Duration::from_secs(10)).await
[INFO] [stdout]     |                 -------------------------------------^^^^^
[INFO] [stdout]     |                 |                                    |
[INFO] [stdout]     |                 |                                    this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                 |                                    up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                 this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                 `#2` will be dropped later as of Edition 2024
[INFO] [stdout]  34 |             }
[INFO] [stdout]     |             - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.40.0/src/runtime/time/entry.rs:652:1
[INFO] [stdout]     |
[INFO] [stdout] 652 | impl Drop for TimerEntry {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `res` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.88/src/error.rs:593:1
[INFO] [stdout]     |
[INFO] [stdout] 593 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.88/src/error.rs:593:1
[INFO] [stdout]     |
[INFO] [stdout] 593 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `e` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.88/src/error.rs:593:1
[INFO] [stdout]     |
[INFO] [stdout] 593 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.40.0/src/runtime/time/entry.rs:652:1
[INFO] [stdout]     |
[INFO] [stdout] 652 | impl Drop for TimerEntry {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 |     unsafe { API_KEY.set(api_key.to_string()); }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/client.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 - pub static mut API_KEY: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 22 + pub static API_KEY: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.73s
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/client.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |             API_KEY.get().unwrap().to_string()
[INFO] [stdout]     |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  22 - pub static mut API_KEY: OnceLock<String> = OnceLock::new();
[INFO] [stdout]  22 + pub static API_KEY: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: inscript v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking inscript v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `format`
[INFO] [stdout]  --> src/client.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::{format, Debug, Display, Formatter};
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::fs::chown`
[INFO] [stdout]  --> src/client.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::os::unix::fs::chown;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitcoin::p2p::message::NetworkMessage::Tx`
[INFO] [stdout]   --> src/client.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use bitcoin::p2p::message::NetworkMessage::Tx;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitcoincore_rpc::jsonrpc::minreq::head`
[INFO] [stdout]   --> src/client.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use bitcoincore_rpc::jsonrpc::minreq::head;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::builder::Str`
[INFO] [stdout]   --> src/client.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use clap::builder::Str;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/client.rs:97:50
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub fn get_max_brc20_tx_fee(network: Network) -> (Brc20Fee) {
[INFO] [stdout]    |                                                  ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 97 - pub fn get_max_brc20_tx_fee(network: Network) -> (Brc20Fee) {
[INFO] [stdout] 97 + pub fn get_max_brc20_tx_fee(network: Network) -> Brc20Fee {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/client.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 198 |         ;
[INFO] [stdout]     |         ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::anyhow`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use anyhow::anyhow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `argh::FromArgs`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use argh::FromArgs;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitcoin::key::UntweakedPublicKey`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use bitcoin::key::UntweakedPublicKey;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MAX_COMMIT_FEE`, `MAX_REVEAL_FEE`, and `get_max_brc20_tx_fee`
[INFO] [stdout]   --> src/main.rs:21:37
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::client::{get_cur_tx_fee, get_max_brc20_tx_fee, RpcClient, Timeout, API_KEY, MAX_COMMIT_FEE, MAX_REVEAL_FEE};
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^                               ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ArgAction` and `arg`
[INFO] [stdout]   --> src/main.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | use clap::{arg, value_parser, Arg, ArgAction, ArgMatches, Command};
[INFO] [stdout]    |            ^^^                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::de::Unexpected::Str`
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use serde::de::Unexpected::Str;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `async_closure` has been stable since 1.85.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(async_closure)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(error_in_core)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `format`
[INFO] [stdout]  --> src/client.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::{format, Debug, Display, Formatter};
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::fs::chown`
[INFO] [stdout]  --> src/client.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::os::unix::fs::chown;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitcoin::p2p::message::NetworkMessage::Tx`
[INFO] [stdout]   --> src/client.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use bitcoin::p2p::message::NetworkMessage::Tx;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitcoincore_rpc::jsonrpc::minreq::head`
[INFO] [stdout]   --> src/client.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use bitcoincore_rpc::jsonrpc::minreq::head;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::builder::Str`
[INFO] [stdout]   --> src/client.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use clap::builder::Str;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/client.rs:97:50
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub fn get_max_brc20_tx_fee(network: Network) -> (Brc20Fee) {
[INFO] [stdout]    |                                                  ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 97 - pub fn get_max_brc20_tx_fee(network: Network) -> (Brc20Fee) {
[INFO] [stdout] 97 + pub fn get_max_brc20_tx_fee(network: Network) -> Brc20Fee {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/client.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 198 |         ;
[INFO] [stdout]     |         ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::anyhow`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use anyhow::anyhow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `argh::FromArgs`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use argh::FromArgs;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitcoin::key::UntweakedPublicKey`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use bitcoin::key::UntweakedPublicKey;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MAX_COMMIT_FEE`, `MAX_REVEAL_FEE`, and `get_max_brc20_tx_fee`
[INFO] [stdout]   --> src/main.rs:21:37
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::client::{get_cur_tx_fee, get_max_brc20_tx_fee, RpcClient, Timeout, API_KEY, MAX_COMMIT_FEE, MAX_REVEAL_FEE};
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^                               ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ArgAction` and `arg`
[INFO] [stdout]   --> src/main.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | use clap::{arg, value_parser, Arg, ArgAction, ArgMatches, Command};
[INFO] [stdout]    |            ^^^                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::de::Unexpected::Str`
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use serde::de::Unexpected::Str;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `async_closure` has been stable since 1.85.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(async_closure)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(error_in_core)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/client.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |         let mut result = reqwest::Client::new()
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/client.rs:188:13
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let mut result = reqwest::Client::new()
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/client.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |         let mut result = reqwest::Client::new()
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/client.rs:188:13
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let mut result = reqwest::Client::new()
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `network`
[INFO] [stdout]   --> src/client.rs:97:29
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub fn get_max_brc20_tx_fee(network: Network) -> (Brc20Fee) {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `network`
[INFO] [stdout]    --> src/client.rs:110:24
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn get_api_key(network: Network) -> String {
[INFO] [stdout]     |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `network`
[INFO] [stdout]   --> src/client.rs:97:29
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub fn get_max_brc20_tx_fee(network: Network) -> (Brc20Fee) {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `network`
[INFO] [stdout]    --> src/client.rs:110:24
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn get_api_key(network: Network) -> String {
[INFO] [stdout]     |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/client.rs:334:13
[INFO] [stdout]     |
[INFO] [stdout] 334 |         let mut rt = tokio::runtime::Runtime::new().unwrap();
[INFO] [stdout]     |             ----^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/client.rs:349:13
[INFO] [stdout]     |
[INFO] [stdout] 349 |         let mut rt = tokio::runtime::Runtime::new().unwrap();
[INFO] [stdout]     |             ----^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `utxo`
[INFO] [stdout]    --> src/main.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let utxo = utxos.get(0).unwrap();
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_utxo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `utxo`
[INFO] [stdout]    --> src/main.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let utxo = utxos.get(0).unwrap();
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_utxo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `MAX_COMMIT_FEE` is never used
[INFO] [stdout]   --> src/client.rs:23:16
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub static mut MAX_COMMIT_FEE: u64 = 0;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `MAX_REVEAL_FEE` is never used
[INFO] [stdout]   --> src/client.rs:24:16
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub static mut MAX_REVEAL_FEE: u64 = 0;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Brc20Fee` is never constructed
[INFO] [stdout]   --> src/client.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct Brc20Fee {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_max_brc20_tx_fee` is never used
[INFO] [stdout]   --> src/client.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub fn get_max_brc20_tx_fee(network: Network) -> (Brc20Fee) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `must` is never used
[INFO] [stdout]  --> src/util.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn must<F: Fn() -> Result<T>, T>(f: F) -> T {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `MAX_COMMIT_FEE` is never used
[INFO] [stdout]   --> src/client.rs:23:16
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub static mut MAX_COMMIT_FEE: u64 = 0;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `MAX_REVEAL_FEE` is never used
[INFO] [stdout]   --> src/client.rs:24:16
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub static mut MAX_REVEAL_FEE: u64 = 0;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Brc20Fee` is never constructed
[INFO] [stdout]   --> src/client.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct Brc20Fee {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_max_brc20_tx_fee` is never used
[INFO] [stdout]   --> src/client.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub fn get_max_brc20_tx_fee(network: Network) -> (Brc20Fee) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `must` is never used
[INFO] [stdout]  --> src/util.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn must<F: Fn() -> Result<T>, T>(f: F) -> T {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 |     unsafe { API_KEY.set(api_key.to_string()); }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 69 |     unsafe { let _ = API_KEY.set(api_key.to_string()); }
[INFO] [stdout]    |              +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 |     unsafe { API_KEY.set(api_key.to_string()); }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/client.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 - pub static mut API_KEY: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 22 + pub static API_KEY: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `script_type` should have an upper case name
[INFO] [stdout]    --> src/main.rs:218:11
[INFO] [stdout]     |
[INFO] [stdout] 218 |     const script_type: &str = "p2tr";
[INFO] [stdout]     |           ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]     |
[INFO] [stdout] 218 -     const script_type: &str = "p2tr";
[INFO] [stdout] 218 +     const SCRIPT_TYPE: &str = "p2tr";
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oneBtc` should have a snake case name
[INFO] [stdout]    --> src/main.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 |     let oneBtc = Amount::from_sat(2500);
[INFO] [stdout]     |         ^^^^^^ help: convert the identifier to snake case: `one_btc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/client.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |             API_KEY.get().unwrap().to_string()
[INFO] [stdout]     |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  22 - pub static mut API_KEY: OnceLock<String> = OnceLock::new();
[INFO] [stdout]  22 + pub static API_KEY: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 |     unsafe { API_KEY.set(api_key.to_string()); }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 69 |     unsafe { let _ = API_KEY.set(api_key.to_string()); }
[INFO] [stdout]    |              +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 |     unsafe { API_KEY.set(api_key.to_string()); }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/client.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 - pub static mut API_KEY: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 22 + pub static API_KEY: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `script_type` should have an upper case name
[INFO] [stdout]    --> src/main.rs:218:11
[INFO] [stdout]     |
[INFO] [stdout] 218 |     const script_type: &str = "p2tr";
[INFO] [stdout]     |           ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]     |
[INFO] [stdout] 218 -     const script_type: &str = "p2tr";
[INFO] [stdout] 218 +     const SCRIPT_TYPE: &str = "p2tr";
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oneBtc` should have a snake case name
[INFO] [stdout]    --> src/main.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 |     let oneBtc = Amount::from_sat(2500);
[INFO] [stdout]     |         ^^^^^^ help: convert the identifier to snake case: `one_btc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/client.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |             API_KEY.get().unwrap().to_string()
[INFO] [stdout]     |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  22 - pub static mut API_KEY: OnceLock<String> = OnceLock::new();
[INFO] [stdout]  22 + pub static API_KEY: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `inscript` (bin "inscript" test) due to 2 previous errors; 30 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `inscript` (bin "inscript") due to 2 previous errors; 28 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0eabc7b4a07f5bbc22e3312be9e7d74abf33d492559dac980f51f05f19bc14bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0eabc7b4a07f5bbc22e3312be9e7d74abf33d492559dac980f51f05f19bc14bc", kill_on_drop: false }`
[INFO] [stdout] 0eabc7b4a07f5bbc22e3312be9e7d74abf33d492559dac980f51f05f19bc14bc
